<div id="ok">
  <div role="alert" id="pass1">ok</div>
  <div role="alertdialog" id="pass2">ok</div>
  <div role="application" id="pass3">ok</div>
  <div role="article" id="pass4">ok</div>
  <div role="banner" id="pass5">ok</div>
  <div role="button" id="pass6">ok</div>
  <div role="checkbox" id="pass7">ok</div>
  <div role="columnheader" id="pass8">ok</div>
  <div role="combobox" id="pass9">ok</div>
  <div role="complementary" id="pass10">ok</div>
  <div role="contentinfo" id="pass11">ok</div>
  <div role="definition" id="pass12">ok</div>
  <div role="dialog" id="pass13">ok</div>
  <div role="document" id="pass15">ok</div>
  <div role="feed" id="pass16">ok</div>
  <div role="form" id="pass17">ok</div>
  <div role="grid" id="pass18">ok</div>
  <div role="gridcell" id="pass19">ok</div>
  <div role="group" id="pass20">ok</div>
  <div role="heading" id="pass21">ok</div>
  <div role="img" id="pass22">ok</div>
  <div role="link" id="pass23">ok</div>
  <div role="list" id="pass24">ok</div>
  <div role="listbox" id="pass25">ok</div>
  <div role="listitem" id="pass26">ok</div>
  <div role="log" id="pass27">ok</div>
  <div role="main" id="pass28">ok</div>
  <div role="marquee" id="pass29">ok</div>
  <div role="math" id="pass30">ok</div>
  <div role="menu" id="pass31">ok</div>
  <div role="menubar" id="pass32">ok</div>
  <div role="menuitem" id="pass33">ok</div>
  <div role="menuitemcheckbox" id="pass34">ok</div>
  <div role="menuitemradio" id="pass35">ok</div>
  <div role="navigation" id="pass36">ok</div>
  <div role="note" id="pass37">ok</div>
  <div role="option" id="pass38">ok</div>
  <div role="presentation" id="pass39">ok</div>
  <div role="progressbar" id="pass40">ok</div>
  <div role="radio" id="pass41">ok</div>
  <div role="radiogroup" id="pass42">ok</div>
  <div role="region" id="pass43">ok</div>
  <div role="row" id="pass44">ok</div>
  <div role="rowgroup" id="pass45">ok</div>
  <div role="rowheader" id="pass46">ok</div>
  <div role="scrollbar" id="pass47">ok</div>
  <div role="search" id="pass48">ok</div>
  <div role="separator" id="pass49">ok</div>
  <div role="slider" id="pass50">ok</div>
  <div role="spinbutton" id="pass51">ok</div>
  <div role="status" id="pass52">ok</div>
  <div role="tab" id="pass53">ok</div>
  <div role="tablist" id="pass54">ok</div>
  <div role="tabpanel" id="pass55">ok</div>
  <div role="term" id="pass56">ok</div>
  <div role="textbox" id="pass57">ok</div>
  <div role="timer" id="pass58">ok</div>
  <div role="toolbar" id="pass59">ok</div>
  <div role="tooltip" id="pass60">ok</div>
  <div role="tree" id="pass61">ok</div>
  <div role="treegrid" id="pass62">ok</div>
  <div role="treeitem" id="pass63">ok</div>
  <div role="switch" id="pass64">ok</div>
  <div role="none" id="pass65">ok</div>
  <div role="cell" id="pass66">ok</div>
  <div role="searchbox" id="pass67">ok</div>
  <div role="table" id="pass69">ok</div>
  <div role="doc-abstract" id="pass70">ok</div>
  <div role="doc-acknowledgments" id="pass71">ok</div>
  <div role="doc-afterword" id="pass72">ok</div>
  <div role="doc-appendix" id="pass73">ok</div>
  <div role="doc-backlink" id="pass74">ok</div>
  <div role="doc-bibliography" id="pass76">ok</div>
  <div role="doc-biblioref" id="pass77">ok</div>
  <div role="doc-chapter" id="pass78">ok</div>
  <div role="doc-colophon" id="pass79">ok</div>
  <div role="doc-conclusion" id="pass80">ok</div>
  <div role="doc-cover" id="pass81">ok</div>
  <div role="doc-credit" id="pass82">ok</div>
  <div role="doc-credits" id="pass83">ok</div>
  <div role="doc-dedication" id="pass84">ok</div>
  <div role="doc-endnotes" id="pass85">ok</div>
  <div role="doc-epigraph" id="pass87">ok</div>
  <div role="doc-epilogue" id="pass88">ok</div>
  <div role="doc-errata" id="pass89">ok</div>
  <div role="doc-example" id="pass90">ok</div>
  <div role="doc-footnote" id="pass91">ok</div>
  <div role="doc-foreword" id="pass92">ok</div>
  <div role="doc-glossary" id="pass93">ok</div>
  <div role="doc-glossref" id="pass94">ok</div>
  <div role="doc-index" id="pass95">ok</div>
  <div role="doc-introduction" id="pass96">ok</div>
  <div role="doc-noteref" id="pass97">ok</div>
  <div role="doc-notice" id="pass98">ok</div>
  <div role="doc-pagebreak" id="pass99">ok</div>
  <div role="doc-pagelist" id="pass100">ok</div>
  <div role="doc-part" id="pass101">ok</div>
  <div role="doc-preface" id="pass102">ok</div>
  <div role="doc-prologue" id="pass103">ok</div>
  <div role="doc-pullquote" id="pass104">ok</div>
  <div role="doc-qna" id="pass105">ok</div>
  <div role="doc-subtitle" id="pass106">ok</div>
  <div role="doc-tip" id="pass107">ok</div>
  <div role="doc-toc" id="pass108">ok</div>
  <div role="figure" id="pass109">ok</div>
  <div role="text" id="pass110">ok</div>
  <div role="graphics-document" id="pass111">ok</div>
  <div role="graphics-object" id="pass112">ok</div>
  <div role="graphics-symbol" id="pass113">ok</div>
  <div role="comment" id="pass114">ok</div>
  <div role="mark" id="pass115">ok</div>
  <div role="suggestion" id="pass116">ok</div>
  <!-- fallback roles -->
  <div role="button alert" id="pass117">fail</div>
</div>
<div id="violation">
  <!-- abstract roles -->
  <div role="command" id="fail1">fail</div>
  <div role="composite" id="fail2">fail</div>
  <div role="input" id="fail3">fail</div>
  <div role="landmark" id="fail4">fail</div>
  <div role="range" id="fail5">fail</div>
  <div role="roletype" id="fail6">fail</div>
  <div role="section" id="fail7">fail</div>
  <div role="sectionhead" id="fail8">fail</div>
  <div role="select" id="fail9">fail</div>
  <div role="structure" id="fail10">fail</div>
  <div role="widget" id="fail11">fail</div>
  <div role="window" id="fail12">fail</div>
  <!-- invalid roles -->
  <div role="lol" id="fail13">fail</div>
  <!-- unsupported roles -->
  <!-- deprecated roles-->
  <div role="doc-biblioentry" id="pass118">fail</div>
  <div role="doc-endnote" id="pass119">fail</div>
  <div role="directory" id="pass120">ok</div>
</div>

<!-- inapplicable  -->
<div id="inapplicable1">no role attribute</div>
<div id="inapplicable2" role>role not defined</div>
<div id="inapplicable3" role="">empty role</div>
<div id="inapplicable4" role=" ">role has only whitespace</div>
